<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
namespace AlibabaCloud\Client\Config;

class Config
{
    private static $configManager;
    public static function get($configPath, $defaultValue = NULL)
    {
        return self::getConfigManager()->getValue(strtolower($configPath), $defaultValue);
    }
    private static function getConfigManager()
    {
        if(!self::$configManager instanceof \clagiordano\weblibs\configmanager\ConfigManager) {
            self::$configManager = new \clagiordano\weblibs\configmanager\ConfigManager(__DIR__ . DIRECTORY_SEPARATOR . "Data.php");
        }
        return self::$configManager;
    }
    public static function set($configPath, $newValue)
    {
        self::getConfigManager()->setValue(strtolower($configPath), $newValue);
        return self::getConfigManager()->saveConfigFile();
    }
}

?>